{template 'admin','header'}
<form action="{URL}" method="POST" onsubmit="return r_submit(this);">
<table class="table_form">
<caption>修改留言</caption>
<tr><th><strong>内容</strong></th><td><textarea rows="8" cols="80" name="data[content]">{$info['content']}</textarea></td></tr>
<tr><th><strong>分类</strong></th><td>
        <select name="data[type]" id="type">
            {loop $typelist $i $v}
            <option value="{$i}">{$v['tname']}</option>
            {/loop}
        </select>
        <script>$('#type').val('{$info["type"]}')</script>
    </td></tr>
<tr><td></td><td><input type="submit" value=" 确定 " class="button_style">&nbsp;<input type="button" class="button_style" onclick="history.back()" value=" 返回 "></td></tr>
<input type="hidden" name="cid" value="{$info['commentid']}">
</table>
<input type="hidden" name="forward" value="{$forward}">
</form>
{template 'admin','footer'}